﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HRM.Entity;
using HRM.DAL;

namespace HRM.BIZ
{
    public class ContractTypeBiz: BaseBiz
    {
        public List<ContractType> GetAll()
        {
            return new ContractTypeDAL().GetAll();
        }

        public ContractType GetByID(int ID)
        {
            return new ContractTypeDAL().GetByID(ID);
        }

        public ContractType Add(ContractType item)
        {
            return new ContractTypeDAL().Add(item);
        }

        public ContractType Update(ContractType item)
        {
            return new ContractTypeDAL().Update(item);
        }

        public void Delete(int ID)
        {
            new ContractTypeDAL().Delete(ID);
        }
    }
}
